package edu.cuit.avatar.common.converter;

/**
 * @author <a href="mailto:1020zhaodan@163.com">Adan</a>
 * @version 1.0
 * @date 2025/7/26 10:54
 */
public class IntegerConverter implements Converter<Number,Integer>{

    @Override
    public Integer convert(Number value) {
        if(value == null) return null;
        return value.intValue();
    }
}
